package com.wtwd.device.dao;

import com.alibaba.fastjson.JSONObject;
import com.wtwd.device.model.entity.SysPermission;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author ljiong
 * @date 2021/08/05
 * @description
 */
@Mapper
public interface SysPermissionMapper {
    int deleteByNonId(@Param("ids")List<Integer> ids);

    int saveOrUpdate(@Param("param") JSONObject param);

    List<SysPermission> getAllPermission();

}
